﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Pg.BioMedics.SDR.Web.Controls
{
    /// <summary>
    /// Actions group displayed in ActionToolbar
    /// </summary>
    public class ActionGroup : WebControl
    {
        #region Fields

        private string title;
        private List<Action> actions = new List<Action>();

        #endregion

        #region Properties

        /// <summary>
        /// Gets / sets ActionGroup title displayable in the control
        /// </summary>
        public string Title
        {
            get
            {
                return this.title;
            }

            set
            {
                this.title = value;
            }
        }

        /// <summary>
        /// Gets actions collection
        /// </summary>
        public List<Action> Actions
        {
            get
            {
                return this.actions;
            }
        }

        #endregion
    }
}
